package cn.ibizlab.odoo.core.odoo_stock.service;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.HashMap;
import java.util.Collection;
import java.math.BigInteger;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import cn.ibizlab.odoo.core.odoo_stock.domain.Stock_overprocessed_transfer;
import cn.ibizlab.odoo.core.odoo_stock.filter.Stock_overprocessed_transferSearchContext;

/**
 * 实体[Stock_overprocessed_transfer] 服务对象接口
 */

public interface IStock_overprocessed_transferService{
     void createBatch(List<Stock_overprocessed_transfer> stock_overprocessed_transfers, int batchSize) ;
     boolean create(Stock_overprocessed_transfer stock_overprocessed_transfer) ;
     void removeBatch(Collection<? extends Serializable> idList, int batchSize) ;
     Stock_overprocessed_transfer get(Integer id) ;
     Stock_overprocessed_transfer get(Stock_overprocessed_transfer stock_overprocessed_transfer) ;
     void updateBatch(List<Stock_overprocessed_transfer> stock_overprocessed_transfers, int batchSize) ;
     boolean update(Stock_overprocessed_transfer stock_overprocessed_transfer) ;
     boolean remove(Integer id) ;

    /**
     * 查询集合 默认查询
     */
    Page<Stock_overprocessed_transfer> searchDefault(Stock_overprocessed_transferSearchContext context) ;

    /**
     * 根据用户查询
     */
     Page<Stock_overprocessed_transfer> selectByOdoo_create(Integer id) ;

    /**
     * 根据用户查询
     */
     Page<Stock_overprocessed_transfer> selectByOdoo_write(Integer id) ;

    /**
     * 根据调拨查询
     */
     Page<Stock_overprocessed_transfer> selectByOdoo_picking(Integer id) ;

    /**
     * 转换ClientModel为Domain
     */
    public Stock_overprocessed_transfer convert2Domain(cn.ibizlab.odoo.core.client.model.Istock_overprocessed_transfer model ,Stock_overprocessed_transfer domain);

    /**
     * 转换Domain为ClientModel
     */
    public cn.ibizlab.odoo.core.client.model.Istock_overprocessed_transfer convert2Model(Stock_overprocessed_transfer domain , cn.ibizlab.odoo.core.client.model.Istock_overprocessed_transfer model);

}
